Skip to content

Test 47625: Fix unit handling in advanced rating evaluation#11594

Open
lukas-heinrich wants to merge 1 commit into
ILIAS-eLearning:release_11from
lukas-heinrich:ta/11/47625
Open

Test 47625: Fix unit handling in advanced rating evaluation#11594
lukas-heinrich wants to merge 1 commit into
ILIAS-eLearning:release_11from
lukas-heinrich:ta/11/47625

Conversation

@lukas-heinrich
Copy link
Copy Markdown
Contributor

Hi everyone,

This PR relates to Mantis ticket 47625. The behaviour can only be reproduced if the ‘Advanced rating’ mode has been enabled for the formula question.

It seems to me that the issue has been addressed in commit c5c9537 by @matheuszych. However in 723a7c8, some operands were swapped, which, in my POV, leads to the problem described in the ticket. In the getReachedPoints method, answer_unit was compared with answer_unit to verify the result. Consequently, this always returned true, and the result was awarded the full marks for the correct unit.

As always, I look forward to your feedback and comments on these changes.

Best,
@lukas-heinrich

/cc @thojou

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant